package com.funtl.spring.cloud.alibaba.unit.controller;

import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @ClassName RedisTestController
 * @Description TODO
 * @Author Mr.Starry
 * @Date 2020/1/3 22:29
 * @Version 1.0
 */
@RestController
@RequestMapping(path = "/redis")
public class RedisTestController {

    @Resource
    private RedisTemplate redisTemplate;

    @GetMapping(path = "/key")
    public void setKey(String text){

    }

    @GetMapping(path = "/map")
    public void setMap(String text) {


    }

    }
